<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<link href="<?php echo base_url('web');?>/css/bootstrap.min.css" rel="stylesheet" />
		<script src="<?php echo base_url('web');?>/js/jquery-3.2.0.min.js" ></script>
		<script src="<?php echo base_url('web');?>/js/bootstrap.min.js" ></script>
		<script src="<?php echo base_url('web');?>/js/config.js"></script>
	</head>
	<body style="padding:100px">
		<div class="panel panel-default">
			<!-- Default panel contents -->
			<div class="panel-heading">可评分教师列表</div>
	
			<!-- Table -->
			<table class="table">
				<thead>
					<tr>
						<th>教师ID</th>
						<th>姓名</th>
						<?php
							if($radio=="student"){
								echo "<th>课程</th>";
							}	
						?>
						<th>操作</th>
					</tr>
				</thead>
				<tbody>
					<?php foreach($ts as $k=>$v){ ?>
						<tr>
							<td class="id"><?php echo $v['tid'];?></td>
							<td><?php echo $v['name'];?></td>
							<?php
								if($radio=="student"){
									echo "<td>{$v['lesson']}</td>";
								}	
							?>
							<td class="btn-group btn-group-sm">
							<a href="<?php echo base_url("index.php/{$radio}/marking_stepOption/".$v['id']);?>" type="button" class="btn btn-default wq-btn">评分</a></td>
						</tr>
					<?php } ?>
				</tbody>
			</table>
		</div>
	</body>
</html>
